//
//  SFDiscoverTableViewController.swift
//  SFWeiBo
//
//  Created by 孙凡 on 16/4/7.
//  Copyright © 2016年 Edward. All rights reserved.
//

import UIKit

class SFDiscoverTableViewController: SFBasicTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()


        if isLogin == false {

            visitorView.setInfo("visitordiscover_image_message", message: "登陆后,最新,最热微博尽在掌握,不再会与实事潮流擦肩而过")

            return
            
        }

        //添加搜索框
        setupSeachView()
    }

    func setupSeachView(){

        let seachView:SFDiscoverSearchView = SFDiscoverSearchView.searchView()

        self.navigationItem.titleView = seachView
    }

}
